package com.crm.dao.mapper.activityManager;

import com.crm.model.entity.activityManager.CustomerGiftActivityRelation;
import com.crm.model.entity.activityManager.CustomerGiftActivityRelationExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface CustomerGiftActivityRelationMapper {
    long countByExample(CustomerGiftActivityRelationExample example);

    int deleteByExample(CustomerGiftActivityRelationExample example);

    int deleteByPrimaryKey(String giftActivityRelationId);

    int insert(CustomerGiftActivityRelation record);

    int insertSelective(CustomerGiftActivityRelation record);

    List<CustomerGiftActivityRelation> selectByExample(CustomerGiftActivityRelationExample example);

    CustomerGiftActivityRelation selectByPrimaryKey(String giftActivityRelationId);

    int updateByExampleSelective(@Param("record") CustomerGiftActivityRelation record, @Param("example") CustomerGiftActivityRelationExample example);

    int updateByExample(@Param("record") CustomerGiftActivityRelation record, @Param("example") CustomerGiftActivityRelationExample example);

    int updateByPrimaryKeySelective(CustomerGiftActivityRelation record);

    int updateByPrimaryKey(CustomerGiftActivityRelation record);
}